package com.biz.primus.ms.tms.dao.po;

import com.biz.primus.model.tms.enums.TakeDeliveryOrderEnum;
import com.biz.primus.ms.base.jpa.po.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;

/**
 * TakeDeliverOrderLog
 *
 * @author JKLiues
 * @date 2017年11月22日
 */
@Getter
@Setter
@Entity
@Table(name = "tb_deliver_order_take_log")
public class TakeDeliverOrderLog extends BaseEntity {
    private static final long serialVersionUID = 2194183320934121391L;

    @Column(nullable = false, length = 20)
    private String empCode;

    @Column(length = 50, nullable = false)
    private String deliveryOrderCode;

    @Column(nullable = false)
    @Enumerated(EnumType.STRING)
    private TakeDeliveryOrderEnum type;
}